package com.ruoyi.gas.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 东方报警数据对象 gas_df
 *
 * @author ruoyi
 * @date 2024-01-17
 */
public class GasDf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 设备型号 */
    @Excel(name = "设备型号")
    private Integer protocolId;

    /** 设备唯一编码 */
    @Excel(name = "设备唯一编码")
    private String uuid;

    /** 传感器信息1 */
    @Excel(name = "传感器信息1")
    private String sensor1;

    /** 传感器信息2 */
    @Excel(name = "传感器信息2")
    private String sensor2;

    /** 传感器信息3 */
    @Excel(name = "传感器信息3")
    private String sensor3;

    /** 传感器信息4 */
    @Excel(name = "传感器信息4")
    private String sensor4;

    /** gps */
    @Excel(name = "gps")
    private String gps;

    /** 高度数据 */
    @Excel(name = "高度数据")
    private String altitude;

    /** 气压数据 */
    @Excel(name = "气压数据")
    private String pressure;

    /** 温度数据 */
    @Excel(name = "温度数据")
    private String temperature;

    @Excel(name = "气体路径1报警等级（0:未报警 1:一级报警 2:二级报警）")
    private Integer route1;

    @Excel(name = "气体路径2报警报警等级（0:未报警 1:一级报警 2:二级报警）")
    private Integer route2;

    @Excel(name = "气体路径3报警报警等级（0:未报警 1:一级报警 2:二级报警）")
    private Integer route3;

    @Excel(name = "气体路径4报警报警等级（0:未报警 1:一级报警 2:二级报警）")
    private Integer route4;

    /** 状态 */
    @Excel(name = "气泵报警等级（0:未报警 1:一级报警 2:二级报警）")
    private Integer pump;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setProtocolId(Integer protocolId)
    {
        this.protocolId = protocolId;
    }

    public Integer getProtocolId()
    {
        return protocolId;
    }
    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }
    public void setSensor1(String sensor1)
    {
        this.sensor1 = sensor1;
    }

    public String getSensor1()
    {
        return sensor1;
    }
    public void setSensor2(String sensor2)
    {
        this.sensor2 = sensor2;
    }

    public String getSensor2()
    {
        return sensor2;
    }
    public void setSensor3(String sensor3)
    {
        this.sensor3 = sensor3;
    }

    public String getSensor3()
    {
        return sensor3;
    }
    public void setSensor4(String sensor4)
    {
        this.sensor4 = sensor4;
    }

    public String getSensor4()
    {
        return sensor4;
    }
    public void setGps(String gps)
    {
        this.gps = gps;
    }

    public String getGps()
    {
        return gps;
    }
    public void setAltitude(String altitude)
    {
        this.altitude = altitude;
    }

    public String getAltitude()
    {
        return altitude;
    }
    public void setPressure(String pressure)
    {
        this.pressure = pressure;
    }

    public String getPressure()
    {
        return pressure;
    }
    public void setTemperature(String temperature)
    {
        this.temperature = temperature;
    }

    public String getTemperature()
    {
        return temperature;
    }

    public Integer getRoute1() {
        return route1;
    }

    public void setRoute1(Integer route1) {
        this.route1 = route1;
    }

    public Integer getRoute2() {
        return route2;
    }

    public void setRoute2(Integer route2) {
        this.route2 = route2;
    }

    public Integer getRoute3() {
        return route3;
    }

    public void setRoute3(Integer route3) {
        this.route3 = route3;
    }

    public Integer getRoute4() {
        return route4;
    }

    public void setRoute4(Integer route4) {
        this.route4 = route4;
    }

    public void setPump(Integer pump)
    {
        this.pump = pump;
    }

    public Integer getPump()
    {
        return pump;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("protocolId", getProtocolId())
            .append("uuid", getUuid())
            .append("sensor1", getSensor1())
            .append("sensor2", getSensor2())
            .append("sensor3", getSensor3())
            .append("sensor4", getSensor4())
            .append("gps", getGps())
            .append("altitude", getAltitude())
            .append("pressure", getPressure())
            .append("temperature", getTemperature())
            .append("route1", getRoute1())
            .append("route2", getRoute2())
            .append("route3", getRoute3())
            .append("route4", getRoute4())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("pump", getPump())
            .toString();
    }
}
